package com.ticket.sass.admin.dto.input.order;

import com.ticket.sass.admin.dto.input.PageInput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author ywb
 * @date 2022-03-29 11:05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "票订单列表输入DTO", description = "按照要求填写")
public class TakeTicketOrderInput extends PageInput {
    @ApiModelProperty(value = "渠道编码")
    private String channelCode;

    @ApiModelProperty(value = "开场时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime startTime;
    
    @ApiModelProperty(value = "结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "用户手机号")
    private String cellphone;
    
}
